package com.sztx.pay.center.dataaccess.domain;

import java.io.Serializable;
import java.util.Date;

import com.sztx.se.dataaccess.mysql.domain.BaseDO;

@SuppressWarnings("serial")
public class PayFlowDO extends BaseDO implements Serializable{
    /**
    * 支付流水单号
     */
    private String payFlowNo;

    /**
    * 交易订单号
     */
    private String tradeOrderNo;

    /**
    * 支付网关订单号
     */
    private String gatewayOrderNo;

    /**
    * 支付发起方登录账号
     */
    private String payerUserId;

    /**
    * 支付发起方用户类型  1  个人客户  2  商户  3  代理商
     */
    private Integer payerUserType;

    /**
    * 支付发起方资金账户ID
     */
    private String payerActNo;

    /**
    * 支付发起方资金账户类型
     */
    private Integer payerActType;
    
    /**
     * 支付发起方在通付的账户号
     */
    private String payerTfActNo;
    

    /**
    * 支付发起方银行类型(外部)
     */
    private Integer payerBankType;

    /**
    * 支付发起方银行名称
     */
    private String payerBankName;

    /**
    * 支付发起方银行账号   25位 
     */
    private String payerBankAct;

    /**
    * 支付发起方银行户名
     */
    private String payerBankActName;

    /**
    * 发起方卡类型 1 借记卡  2 信用卡
     */
    private Integer payerCardType;

    /**
    * 发起方银行卡对公还是对私 1 对私账户  2对公账户
     */
    private Integer payerCardActType;

    /**
    * 发起方CVV  4位
     */
    private String payerBankActCvv;

    /**
    * 发起方有效期  6位
     */
    private String payerBankActExpire;

    /**
    * 发起方银行卡归属省份
     */
    private String payerBankProvince;

    /**
    * 发起方银行卡归属城市
     */
    private String payerBankCity;

    /**
    * 发起方手机号  25位
     */
    private String payerMobile;

    /**
    * 发起方证件类型：1 身份证
     */
    private Integer payerIdentityType;

    /**
    * 发起方证件号  25位
     */
    private String payerIdentityNo;

    /**
    * 支付接收方内部ID
     */
    private String payeeUserId;

    /**
    * 支付接收方用户类型    1  个人客户  2  商户  3  代理商
     */
    private Integer payeeUserType;

    /**
    * 支付接收方资金账户ID
     */
    private String payeeActNo;

    /**
    * 支付接收方资金账户类型
     */
    private Integer payeeActType;
    
    /**
     * 支付接收方在通付的账户号
     */
    private String payeeTfActNo;

    /**
    * 支付接收方银行账号  25位
     */
    private String payeeBankAct;

    /**
    * 支付接收方银行户名
     */
    private String payeeBankActName;

    /**
    * 支付接收方银行卡对公还是对私 1 对私账户  2对公账户
     */
    private Integer payeeCardActType;

    /**
    * 支付接收方银行卡归属省份
     */
    private String payeeBankProvince;

    /**
    * 支付接收方银行卡归属城市
     */
    private String payeeBankCity;

    /**
    * 交易结束时间（入账时间）
     */
    private Date payTime;

    /**
    * 支付流水类型：1 收款  2 付款  3 转账
     */
    private Integer payType;

    /**
    * 支付总单类型：1 B2C  2充值 3 提现 4  转账 5退款 6 结算 7绑卡
     */
    private Integer tradeOrderType;

    /**
    * 订单金额
     */
    private Long amount;

    /**
    * 支付渠道
     */
    private String payChannelId;

    /**
    * 支付渠道文字描述
     */
    private String payChannelStr;
    
    /**
    * 支付状态：
            1未支付   2 支付中  3 成功 4 失败 5 异常 
            
     */
    private Integer payStatus;

    /**
    * 备注
     */
    private String remark;

    /**
    * 创建时间
     */
    private Date createTime;

    /**
    * 修改时间
     */
    private Date modifyTime;
    
    /**
     * 批量订单ID
     */
    private String batchOrderId;
    
    /**
     * 回调通知服务名
     */
    private String callBackServiceName;
    /**
     * 支付订单号
     */
    private String originOrderNo;
    

    /**
     * 统计是否被处理0:未处理,1:已处理
     */
    private int handleStatus;
    
    /**
     * 处理次数
     */
    private int executeTimes;



    private String mappingTradeOrderId;
    
    private String payStatusDesc;
    
    private String innerRemark;
    
    private Long feeAmount; //手续费
    
    private String businessType;

    
	public Long getFeeAmount() {
		return feeAmount;
	}

	public void setFeeAmount(Long feeAmount) {
		this.feeAmount = feeAmount;
	}

	public String getMappingTradeOrderId() {
		return mappingTradeOrderId;
	}

	public void setMappingTradeOrderId(String mappingTradeOrderId) {
		this.mappingTradeOrderId = mappingTradeOrderId;
	}
    
	public int getHandleStatus() {
		return handleStatus;
	}

	public void setHandleStatus(int handleStatus) {
		this.handleStatus = handleStatus;
	}

	public int getExecuteTimes() {
		return executeTimes;
	}

	public void setExecuteTimes(int executeTimes) {
		this.executeTimes = executeTimes;
	}
	public String getOriginOrderNo() {
		return originOrderNo;
	}

	public void setOriginOrderNo(String originOrderNo) {
		this.originOrderNo = originOrderNo;
	}

	public String getPayFlowNo() {
		return payFlowNo;
	}

	public void setPayFlowNo(String payFlowNo) {
		this.payFlowNo = payFlowNo;
	}

	public String getTradeOrderNo() {
		return tradeOrderNo;
	}

	public void setTradeOrderNo(String tradeOrderNo) {
		this.tradeOrderNo = tradeOrderNo;
	}

	public String getGatewayOrderNo() {
		return gatewayOrderNo;
	}

	public void setGatewayOrderNo(String gatewayOrderNo) {
		this.gatewayOrderNo = gatewayOrderNo;
	}

	public String getPayerUserId() {
		return payerUserId;
	}

	public void setPayerUserId(String payerUserId) {
		this.payerUserId = payerUserId;
	}

	public Integer getPayerUserType() {
		return payerUserType;
	}

	public void setPayerUserType(Integer payerUserType) {
		this.payerUserType = payerUserType;
	}

	public String getPayerActNo() {
		return payerActNo;
	}

	public void setPayerActNo(String payerActNo) {
		this.payerActNo = payerActNo;
	}

	public Integer getPayerActType() {
		return payerActType;
	}

	public void setPayerActType(Integer payerActType) {
		this.payerActType = payerActType;
	}

	public Integer getPayerBankType() {
		return payerBankType;
	}

	public void setPayerBankType(Integer payerBankType) {
		this.payerBankType = payerBankType;
	}

	public String getPayerBankName() {
		return payerBankName;
	}

	public void setPayerBankName(String payerBankName) {
		this.payerBankName = payerBankName;
	}

	public String getPayerBankAct() {
		return payerBankAct;
	}

	public void setPayerBankAct(String payerBankAct) {
		this.payerBankAct = payerBankAct;
	}

	public String getPayerBankActName() {
		return payerBankActName;
	}

	public void setPayerBankActName(String payerBankActName) {
		this.payerBankActName = payerBankActName;
	}

	public Integer getPayerCardType() {
		return payerCardType;
	}

	public void setPayerCardType(Integer payerCardType) {
		this.payerCardType = payerCardType;
	}

	public Integer getPayerCardActType() {
		return payerCardActType;
	}

	public void setPayerCardActType(Integer payerCardActType) {
		this.payerCardActType = payerCardActType;
	}

	public String getPayerBankActCvv() {
		return payerBankActCvv;
	}

	public void setPayerBankActCvv(String payerBankActCvv) {
		this.payerBankActCvv = payerBankActCvv;
	}

	public String getPayerBankActExpire() {
		return payerBankActExpire;
	}

	public void setPayerBankActExpire(String payerBankActExpire) {
		this.payerBankActExpire = payerBankActExpire;
	}

	public String getPayerMobile() {
		return payerMobile;
	}

	public void setPayerMobile(String payerMobile) {
		this.payerMobile = payerMobile;
	}

	public Integer getPayerIdentityType() {
		return payerIdentityType;
	}

	public void setPayerIdentityType(Integer payerIdentityType) {
		this.payerIdentityType = payerIdentityType;
	}

	public String getPayerIdentityNo() {
		return payerIdentityNo;
	}

	public void setPayerIdentityNo(String payerIdentityNo) {
		this.payerIdentityNo = payerIdentityNo;
	}

	public String getPayeeUserId() {
		return payeeUserId;
	}

	public void setPayeeUserId(String payeeUserId) {
		this.payeeUserId = payeeUserId;
	}

	public Integer getPayeeUserType() {
		return payeeUserType;
	}

	public void setPayeeUserType(Integer payeeUserType) {
		this.payeeUserType = payeeUserType;
	}

	public String getPayeeActNo() {
		return payeeActNo;
	}

	public void setPayeeActNo(String payeeActNo) {
		this.payeeActNo = payeeActNo;
	}

	public Integer getPayeeActType() {
		return payeeActType;
	}

	public void setPayeeActType(Integer payeeActType) {
		this.payeeActType = payeeActType;
	}

	public String getPayeeBankAct() {
		return payeeBankAct;
	}

	public void setPayeeBankAct(String payeeBankAct) {
		this.payeeBankAct = payeeBankAct;
	}

	public String getPayeeBankActName() {
		return payeeBankActName;
	}

	public void setPayeeBankActName(String payeeBankActName) {
		this.payeeBankActName = payeeBankActName;
	}

	public Integer getPayeeCardActType() {
		return payeeCardActType;
	}

	public void setPayeeCardActType(Integer payeeCardActType) {
		this.payeeCardActType = payeeCardActType;
	}

	public String getPayeeBankProvince() {
		return payeeBankProvince;
	}

	public void setPayeeBankProvince(String payeeBankProvince) {
		this.payeeBankProvince = payeeBankProvince;
	}

	public String getPayeeBankCity() {
		return payeeBankCity;
	}

	public void setPayeeBankCity(String payeeBankCity) {
		this.payeeBankCity = payeeBankCity;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public Integer getTradeOrderType() {
		return tradeOrderType;
	}

	public void setTradeOrderType(Integer tradeOrderType) {
		this.tradeOrderType = tradeOrderType;
	}

	public String getPayChannelId() {
		return payChannelId;
	}

	public void setPayChannelId(String payChannelId) {
		this.payChannelId = payChannelId;
	}

	public String getPayChannelStr() {
		return payChannelStr;
	}

	public void setPayChannelStr(String payChannelStr) {
		this.payChannelStr = payChannelStr;
	}

	public Integer getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(Integer payStatus) {
		this.payStatus = payStatus;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getBatchOrderId() {
		return batchOrderId;
	}

	public void setBatchOrderId(String batchOrderId) {
		this.batchOrderId = batchOrderId;
	}

	public String getCallBackServiceName() {
		return callBackServiceName;
	}

	public void setCallBackServiceName(String callBackServiceName) {
		this.callBackServiceName = callBackServiceName;
	}
	
	public String getPayerTfActNo() {
		return payerTfActNo;
	}

	public void setPayerTfActNo(String payerTfActNo) {
		this.payerTfActNo = payerTfActNo;
	}

	public String getPayeeTfActNo() {
		return payeeTfActNo;
	}

	public void setPayeeTfActNo(String payeeTfActNo) {
		this.payeeTfActNo = payeeTfActNo;
	}

	
	public Long getAmount() {
		return amount;
	}

	public void setAmount(Long amount) {
		this.amount = amount;
	}

	public String getPayStatusDesc() {
		return payStatusDesc;
	}

	public void setPayStatusDesc(String payStatusDesc) {
		this.payStatusDesc = payStatusDesc;
	}

	public String getInnerRemark() {
		return innerRemark;
	}

	public void setInnerRemark(String innerRemark) {
		this.innerRemark = innerRemark;
	}

	public String getPayerBankProvince() {
		return payerBankProvince;
	}

	public void setPayerBankProvince(String payerBankProvince) {
		this.payerBankProvince = payerBankProvince;
	}

	public String getPayerBankCity() {
		return payerBankCity;
	}

	public void setPayerBankCity(String payerBankCity) {
		this.payerBankCity = payerBankCity;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	@Override
	public String toString() {
		return "PayFlowDO [payFlowNo=" + payFlowNo + ", tradeOrderNo="
				+ tradeOrderNo + ", gatewayOrderNo=" + gatewayOrderNo
				+ ", payerUserId=" + payerUserId + ", payerUserType="
				+ payerUserType + ", payerActNo=" + payerActNo
				+ ", payerActType=" + payerActType + ", payerTfActNo="
				+ payerTfActNo + ", payerBankType=" + payerBankType
				+ ", payerBankName=" + payerBankName + ", payerBankAct="
				+ payerBankAct + ", payerBankActName=" + payerBankActName
				+ ", payerCardType=" + payerCardType + ", payerCardActType="
				+ payerCardActType + ", payerBankActCvv=" + payerBankActCvv
				+ ", payerBankActExpire=" + payerBankActExpire
				+ ", payerBankProvince=" + payerBankProvince
				+ ", payerBankCity=" + payerBankCity + ", payerMobile="
				+ payerMobile + ", payerIdentityType=" + payerIdentityType
				+ ", payerIdentityNo=" + payerIdentityNo + ", payeeUserId="
				+ payeeUserId + ", payeeUserType=" + payeeUserType
				+ ", payeeActNo=" + payeeActNo + ", payeeActType="
				+ payeeActType + ", payeeTfActNo=" + payeeTfActNo
				+ ", payeeBankAct=" + payeeBankAct + ", payeeBankActName="
				+ payeeBankActName + ", payeeCardActType=" + payeeCardActType
				+ ", payeeBankProvince=" + payeeBankProvince
				+ ", payeeBankCity=" + payeeBankCity + ", payTime=" + payTime
				+ ", payType=" + payType + ", tradeOrderType=" + tradeOrderType
				+ ", amount=" + amount + ", payChannelId=" + payChannelId
				+ ", payChannelStr=" + payChannelStr + ", payStatus="
				+ payStatus + ", remark=" + remark + ", createTime="
				+ createTime + ", modifyTime=" + modifyTime + ", batchOrderId="
				+ batchOrderId + ", callBackServiceName=" + callBackServiceName
				+ ", originOrderNo=" + originOrderNo + ", handleStatus="
				+ handleStatus + ", executeTimes=" + executeTimes
				+ ", mappingTradeOrderId=" + mappingTradeOrderId
				+ ", payStatusDesc=" + payStatusDesc + ", innerRemark="
				+ innerRemark + ", feeAmount=" + feeAmount + ", businessType="
				+ businessType + "]";
	}

	

	
	
}